﻿namespace Commander.Core.Interfaces.Shared
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Global UI manager for Core and Plugins
    /// </summary>
    public interface IGuiManager
    {
        /// <summary>
        /// Get main view
        /// </summary>
        object MainView { get; }

        /// <summary>
        /// Start main loop
        /// </summary>
        /// <returns></returns>
        void RunMainLoop();

        /// <summary>
        /// Show view as dialog
        /// </summary>
        /// <param name="view"></param>
        void Show(object view);
    }
}
